package com.woyou.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * 购物车的model
 * 
 * @author lenovo
 * 
 */
@SuppressWarnings("serial")
public class ShoppingCar extends SuperBean{
	
	/**
	 * 外送费
	 */
	private float dFee;
	/**
	 * 总份数
	 */
	private int total;
	/**
	 * 基础总价(选购商品总价 + 餐合费总价) 用于计算是否达到起送价
	 */
	private float baseCost;

	/**
	 * 总费用
	 */
	private float totalCost;
	/**
	 * 起送价
	 */
	private float toSendPrice;
	/**
	 * 餐盒费单价
	 */
	private float mealsBoxFee; 
	/**
	 * 餐盒费类型
	 */
	private int mealsBoxFeeType = -1; 
	/**
	 * 购物车商品列表
	 */
	private List<IChoose> chosenGoodsList = new ArrayList<IChoose>();
	/**
	 * 优惠劵列表
	 */
	private List<Coupon> couponList = new ArrayList<Coupon>();
	
	public float getToSendPrice() {
		return toSendPrice;
	}

	public void setToSendPrice(float toSendPrice) {
		this.toSendPrice = toSendPrice;
	}

	public float getMealsBoxFee() {
		return mealsBoxFee;
	}

	public void setMealsBoxFee(float mealsBoxFee) {
		this.mealsBoxFee = mealsBoxFee;
	}

	public int getMealsBoxFeeType() {
		return mealsBoxFeeType;
	}

	public void setMealsBoxFeeType(int mealsBoxFeeType) {
		this.mealsBoxFeeType = mealsBoxFeeType;
	}

	public float getBaseCost() {
		return baseCost;
	}

	public void setBaseCost(float baseCost) {
		this.baseCost = baseCost;
	}

	public float getdFee() {
		return dFee;
	}

	public void setdFee(float dFee) {
		this.dFee = dFee;
	}

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}

	public float getTotalCost() {
		return totalCost;
	}

	public void setTotalCost(float totalCost) {
		this.totalCost = totalCost;
	}


	public List<IChoose> getGoodsList() {
		return chosenGoodsList;
	}

	public void setGoodsList(List<IChoose> goodsList) {
		this.chosenGoodsList = goodsList;
	}

	public List<Coupon> getCouponList() {
		return couponList;
	}

	public void setCouponList(List<Coupon> couponList) {
		this.couponList = couponList;
	}

}
